<template>
  <div class="person">
    <!-- 修改用户名 -->
    <div class="block">
      <h4>修改用户名</h4>
      <ModifyUsername />
    </div>
    <!--修改密码  -->
    <div class="block">
      <h4>修改密码</h4>
      <ModifyPassword />
    </div>
    <div class="block">
      <h4>修改头像</h4>
      <ModifyPhoto />
    </div>
  </div>
</template>

<script>
import ModifyUsername from "./compontents/ModifyUsername.vue";
import ModifyPassword from "./compontents/ModifyPassword.vue";
import ModifyPhoto from "./compontents/ModifyPhoto.vue";
export default {
  name: "person",
  components: {
    ModifyUsername,
    ModifyPassword,
    ModifyPhoto,
  },
  data() {
    return {};
  },
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.person {
  .block {
    padding: 20px;
    background: #fff;
    margin-bottom: 20px;
    h4 {
      font-size: 20px;
      margin-bottom: 20px;
    }
  }
}
</style>